import Request from  '@/utils/request'
import {API_SENSITIVE_LIST,API_SENSITIVE_SAVE,API_SENSITIVE_UPDATE,API_SENSITIVE_DEL} from "@/constants/api";

export function loadList(data) {
  return new Request({
    url: API_SENSITIVE_LIST,
    method: 'post',
    data
  })
}

export function save_sensitive(data) {
  return new Request({
    url: API_SENSITIVE_SAVE,
    method: 'post',
    data
  })
}

export function update_sensitive(data) {
  return new Request({
    url: API_SENSITIVE_UPDATE,
    method: 'post',
    data
  })
}

export function del(data) {
  return new Request({
    url: API_SENSITIVE_DEL,
    method: 'post',
    data
  })
}

